<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="es" dir="ltr">

<?php
$session->flash('auth');

echo $this->element('header_tag', array('scripts_for_layout' => $scripts_for_layout));
?>

<body>

	<?php echo $this->element('header'); ?>
	<div id="wrapper">
        <div id="content_inside">
            <?php echo $this->element('menu_categories', array("categories" => $categories)); ?>
    		
    		<div id="main_block">

	    		<?php echo $this->element('news'); ?>
	    		<?php echo $content_for_layout?>
	    		
    		</div>
    		
    	</div>
    </div>

	<?php echo $this->element('footer'); ?>
</body>
</html>
